home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / 0utils.lha / 0Utils / Make_IconXX.doc < prev    next >
Text File  |  1995-04-10  |  1KB  |  41 lines

  1.  
  2. Make_IconXX
  3.  
  4. How about a version of IconX, that does not only execute
  5. scriptfiles, but also executables? the modified Program
  6. still handles scripts as long, as they have the 'S' bit
  7. (scriptbit) set.
  8.  
  9. For this patch to work, You must ensure, that SRunSX is
  10. in Your Workbench's search path (e.g. resident or in C:
  11. or an "Alias SRun path_to_srun []" in Your user-startup)
  12.  
  13. Sorry for not including the Ready file, but IconX is CBM
  14. copyright, and this is only a patch...
  15.  
  16. U need at least one of SED, REPLACE _or_ SPLAT for the
  17. patch (unfortunately c:Edit can not handle binary files),
  18. then call the right one of the following lines:
  19.  
  20.  > sed -e "s/Execute/SRunSX /g" < c:IconX > IconXX
  21.    or
  22.  > copy c:IconX IconXX
  23.  > splat -o Execute "SRunSX " IconXX
  24.    or
  25.  > Replace  Execute "SRunSX "  c:IconX TO IconXX
  26.  
  27. SPLAT    is part of SAS/C.
  28. SED    is found on AmiNET, Fish or part of GNU/C.
  29. REPLACE is one of my filters (might found together
  30.     w/ that archive).
  31.  
  32. The resulting binary executable may grow one byte
  33. if using SED, but that does not matter. It's due to
  34. the fact SED appends one newline to the executable.
  35.  
  36. Alternatively U may erase the string "Execute"
  37. manually in a copy of c:IconX manually with a
  38. binary editor, replacing it with SRunSX.
  39.  
  40. Calling the script 'Make_IconXX' does the action 4 U
  41.